package com.vhall.component.entity.rbac.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author dalong
 * @date 2021-05-18 19:28
 */
@Data
public class ActionListReqVO implements Serializable {

    private static final long serialVersionUID = -7326045866669545002L;
    @NotNull(message = "参数错误")
    @Range(max = 1, min = 0, message = "参数错误")
    private Integer tree;

    @NotBlank(message = "参数错误")
    private String token;

    private Byte status;
}
